package com.kl.modular.worm.dao.model;

import com.kl.modular.base.dao.model.BaseModel;

import java.util.Date;

/**
 * 待抓取页面
 * @author staywood
 * @date 2018-04-18 13:25
 * @(C)  Copyright 
 */
public class WormPendPage extends BaseModel {

    public final static String STATUS_NORMAL = "NORMAL";
    public final static String STATUS_RUNING = "RUNING";// 已进入待抓取队列之中
    public final static String STATUS_WORMS = "WORMS";// 已爬取

    /** 待抓取url */
    private String pageUrl;
    /** 抓取爬虫name */
    private String wormName;
    /** 状态 */
    private String status;
    /** 抓取时间 */
    private Date wormUpdateTime;
    /** 进入队列时间 */
    private Date queueTime;

    public String getPageUrl() {
        return pageUrl;
    }
    public void setPageUrl(String pageUrl) {
        this.pageUrl = pageUrl;
    }
    public String getWormName() {
        return wormName;
    }
    public void setWormName(String wormName) {
        this.wormName = wormName;
    }
    public String getStatus() {
        return status;
    }
    public void setStatus(String status) {
        this.status = status;
    }

    public Date getWormUpdateTime() {
        return wormUpdateTime;
    }

    public void setWormUpdateTime(Date wormUpdateTime) {
        this.wormUpdateTime = wormUpdateTime;
    }

    public Date getQueueTime() {
        return queueTime;
    }

    public void setQueueTime(Date queueTime) {
        this.queueTime = queueTime;
    }
}